package com.xywy.me.bean;

import java.io.Serializable;

/**
 * 家庭成员  javaBean
 */
public class Jtcy  implements Cloneable,Serializable{
     private  String   icon;
     private  Long     userid;
     private  Long       accountid;
     private  String   accountstr;
     private  String     birthday;

     private  String    name;      //名字
     private  String    sex;     //性别
     private  String    height;    //身高
     private  String    weight;    //体重
     private  String    time;     //添加时间

     private  boolean  mainAc ;//是否主账号
     private  boolean  checkEd;  //是否是当前用户[选中状态]

    public Jtcy(){

    }

    public Jtcy(Long accountid, String accountstr,  String sex, String height,String birthday) {
        this.accountid = accountid;
        this.accountstr = accountstr;
        this.birthday = birthday;
        this.sex = sex;
        this.height = height;
    }

    public Jtcy(String icon, Long userid, Long  accountid,String accountstr, String birthday, String name, String sex,
                String height, String weight, String time, boolean mainAc, boolean checkEd) {
        this.icon  = icon;
        this.userid = userid;
        this.accountid  = accountid;
        this.accountstr = accountstr;
        this.birthday = birthday;
        this.name = name;
        this.sex = sex;
        this.height = height;
        this.weight = weight;
        this.time = time;
        this.mainAc = mainAc;
        this.checkEd = checkEd;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public String getAccountstr() {
        return accountstr;
    }

    public void setAccountstr(String accountstr) {
        this.accountstr = accountstr;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public boolean isMainAc() {
        return mainAc;
    }

    public void setMainAc(boolean mainAc) {
        this.mainAc = mainAc;
    }

    public boolean isCheckEd() {
        return checkEd;
    }

    public void setCheckEd(boolean checkEd) {
        this.checkEd = checkEd;
    }

    public Jtcy clone() {
        try {
            return (Jtcy) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return null;
    }

    @Override
    public String toString() {
        return "MineInfo{" +
                "userid=" + userid +
                ", accountid=" + accountid +
                ", accountstr='" + accountstr + '\'' +
                ", birthday=" + birthday +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", height=" + height +
                ", weight=" + weight +
                ", time='" + time + '\'' +
                ", mainAc=" + mainAc +
                ", checkEd=" + checkEd +
                '}';
    }
}
